package com.sxit.tdf.server.entity.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author 胡乖乖童鞋
 * @date 2022/2/10 14:45
 * @describe
 */
@Data
public class InsertProfessionalVo {

  private Integer id;

  @NotBlank(message = "请输入专业名称")
  private String professionalName;

  @NotBlank(message = "请输入专业编号")
  private String professionalCode;

  private String professionalDesc;

  @NotNull(message = "请选择系部")
  private int deptId;
}
